OTP\Handler\Forms\MoWCCheckoutNew A

Total Complexity 61
Dependencies 11
Dependents 0
Total lines 426
Lines of code 262
Logical lines of code 130
Comment lines 120
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
handle_form_options()
S
58 6 15
checkIntegrity()
S
55 5 22
handle_form()
S
53 5 21
send_otp()
S
55 4 20
my_custom_checkout_field_process()
S
55 4 19
has_shipping_methods()
S
56 4 18
enqueue_script_on_page()
S
55 4 18
get_woocommerce_shipping_address_setting()
S
63 4 11
process_phone_number()
S
63 4 10
processEmail()
S
63 4 10
checkIntegrityAndValidateOTP()
S
56 2 20
process_email_and_send_otp()
S
59 2 15
get_phone_number_selector()
S
70 3 6
process_phone_and_send_otp()
S
60 2 14
processFormAndValidateOTP()
S
61 2 13
handle_otp_token_submitted()
S
68 2 7
__construct()
S
59 1 14
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3